import { Routes } from '@angular/router';

import { OrgManagementComponent } from './org-management.component';

export const OrgManagementRoutes: Routes = [
    {
        path: '',
        children: [
            { path: 'org-management', component: OrgManagementComponent },
            { path: 'org-management/:orgId', component: OrgManagementComponent },
            { path: 'org-management/:orgId/:pageNo/:pageSize', component: OrgManagementComponent },
            { path: 'org-management/:orgId/:pageNo/:pageSize/:orderBy/:orderType', component: OrgManagementComponent },
            { path: 'org-management/:orgId/:pageNo/:pageSize/:orderBy/:orderType/:searchKeywords', component: OrgManagementComponent },
        ]
    }
];
